package com.hippoframework.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author TylerW
 * @date 4/30/2020 5:54 PM
 */
@Target( {ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Component
@Documented
public @interface ConfigurationProperties {

    String prefix() default "";

    boolean ignoreInvalidFields() default false;

}
